<include file="Public/header" title="博文列表" />
<include file="Public/sidebar" />



<!-- 内容开始 -->
<div class="col-sm-9 col-xm-9 col-md-10  content">
  <table class="table">
  	<tr>
  		<th>ID</th>
  		<th>标题</th>
  		<th>所属栏目</th>
  		<th>点击次数</th>
  		<th>发布时间</th>
  		<th>操作</th>
  	</tr>
    <foreach name="article" item="v">
      <tr>
        
        <td>{$v.id}</td>
        <td>
          {$v.title}
          <foreach name="v.attr" item="value">
            <strong style="color:{$value.color}">[{$value.name}]</strong>
          </foreach>
        </td>
        <td>{$v.cateName}</td>
        <td>{$v.click}</td>
        <td>{$v.date|date='Y-m-d H:i:s',###}</td>
        <td>
          <a href="">[修改]</a>
          <a href="{:U('/__CONTROLLER__/trashHandle',array("id"=>$v['id']))}">[删除]</a>
        </td>
      </tr>
    </foreach>
  </table>
</div>
<!-- 内容结束 -->


<include file="Public/footer"  />
